package com.xiaochangwei.web.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.xiaochangwei.web.beans.City;
import com.xiaochangwei.web.beans.Hobby;
import com.xiaochangwei.web.dao.BasicDataDao;
import com.xiaochangwei.web.service.BasicDataService;

/**
 * @since 2017年3月9日 下午8:15:42
 * @author 肖昌伟	317409898@qq.com
 * @description 
 */
@Service
public class BasicDataServiceImpl implements BasicDataService {

	@Autowired
	private BasicDataDao basicDataDao;
	
	@Override
	public List<City> getCity(Long code) {
		return basicDataDao.getCity(code);
	}

	@Override
	public List<Hobby> getHobby(Long code) {
		return basicDataDao.getHobby(code);
	}

}
